# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         dem11
# Description:
# Author:       98745
# Date:         2019/3/4
#-------------------------------------------------------------------------------

class My():
    name='bill'
    def __init__(self):
        print('My的构造方法被调用')
        self.value=20
    @staticmethod
    def run():
        print('*'+My.name+"*")
        print('My的静态方法run被调用')
    @classmethod
    def do(self):
        print(self)
        print('['+self.name+']')
        self.run()
        print('成员方法do被调用')
    def do1(self):
        print(self.value)
        print('<'+self.name+'>')
        print(self)
My.run()
c=My()
c.do()
print("my="+'='+My.name)
My.do()
c.do1()
print('_____')
c.run()